.next-btn-primary {
  background: var(--color-primary-6);
  color: var(--color-text-5);
}
.next-btn-primary:not(.next-btn-loading):not(.next-btn-disabled):hover {
  background-color: var(--color-primary-5);
}
.next-btn-text:not(.next-btn-disabled):focus-within {
  color: var(--primary-6);
}
.next-btn-secondary:not(.next-btn-disabled) {
  background-color: #f2f3f5;
  color: var(--color-text-2);
}
.next-btn-secondary:not(.next-btn-disabled):hover {
  background-color: #e5e6eb;
}
.next-btn-dashed:not(.next-btn-disabled) {
  background-color: var(--color-fill-2);
  color: var(--color-text-2);
  border: 1px dashed var(--color-neutral-3);
}
.next-btn-dashed:not(.next-btn-disabled):not(.next-btn-loading):hover {
  border-color: var(--color-neutral-4);
  color: var(--color-text-2);
  background-color: var(--color-fill-3);
}
.next-btn-outline:not(.next-btn-disabled) {
  background-color: var(--color-text-5);
  color: var(--color-primary-6);
  border: 1px solid var(--color-primary-6);
}
.next-btn-outline:not(.next-btn-disabled):not(.next-btn-loading):hover {
  border-color: var(--color-primary-5);
  color: var(--color-primary-5);
}
.next-btn-text:not(.next-btn-disabled) .content {
  color: var(--color-primary-6);
}
.next-btn-text:not(.next-btn-disabled):not(.next-btn-loading):hover {
  background-color: var(--color-fill-2);
}
.next-btn .ripple {
  border-radius: var(--border-radius);
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--bg-color);
  animation: spread 0.5s ease-in-out;
  z-index: -1;
}
@keyframes spread {
  0% {
    width: 100%;
    height: 100%;
    opacity: 0.5;
  }

  100% {
    width: var(--width);
    height: 135%;
    opacity: var(--opacity);
  }
}
.next-btn.next-btn-icon-only {
  width: 32px;
  height: 32px;
  padding: 0;
}
.next-btn > span:not(.ripple) + span {
  margin-left: 8px;
}
.next-btn-size-mini {
  padding: 0 11px;
  font-size: 12px;
  height: 24px;
  line-height: 24px;
}
.next-btn-size-small {
  padding: 0 15px;
  font-size: 14px;
  height: 28px;
  line-height: 28px;
}
.next-btn-size-default {
  padding: 0 15px;
  font-size: 14px;
  height: 32px;
  line-height: 32px;
}
.next-btn-size-large {
  padding: 0 19px;
  font-size: 14px;
  height: 36px;
  line-height: 36px;
}
.next-btn-primary.next-btn-status-warning:not(.next-btn-disabled) {
  background-color: var(--color-warning-6);
  color: #fff;
}
.next-btn-primary.next-btn-status-danger:not(.next-btn-disabled) {
  background-color: var(--color-danger-6);
  color: #fff;
}
.next-btn-primary.next-btn-status-success:not(.next-btn-disabled) {
  background-color: var(--color-success-6);
  color: #fff;
}
.next-btn-secondary.next-btn-status-warning:not(.next-btn-disabled) {
  background-color: var(--color-warning-1);
  color: var(--color-warning-6);
}
.next-btn-secondary.next-btn-status-danger:not(.next-btn-disabled) {
  background-color: var(--color-danger-1);
  color: var(--color-danger-6);
}
.next-btn-secondary.next-btn-status-success:not(.next-btn-disabled) {
  background-color: var(--color-success-1);
  color: var(--color-success-6);
}
.next-btn-outline.next-btn-status-warning:not(.next-btn-disabled) {
  color: var(--color-warning-6);
  border-color: var(--color-warning-6);
}
.next-btn-outline.next-btn-status-danger:not(.next-btn-disabled) {
  color: var(--color-danger-6);
  border-color: var(--color-danger-6);
}
.next-btn-outline.next-btn-success-danger:not(.next-btn-disabled) {
  color: var(--color-success-6);
  border-color: var(--color-success-6);
}
.next-btn-text.next-btn-status-warning:not(.next-btn-disabled) .content {
  color: var(--color-warning-6);
}
.next-btn-text.next-btn-status-danger:not(.next-btn-disabled) .content {
  color: var(--color-danger-6);
}
.next-btn-text.next-btn-status-success:not(.next-btn-disabled) .content {
  color: var(--color-success-6);
}

.next-btn-primary.next-btn-status-warning:not(.next-btn-disabled):not(
    .next -btn-loading
  ):hover {
  background-color: var(--color-warning-5);
}
.next-btn-primary.next-btn-status-danger:not(.next-btn-disabled):not(
    .next -btn-loading
  ):hover {
  background-color: var(--color-danger-5);
}
.next-btn-primary.next-btn-status-success:not(.next-btn-disabled):not(
    .next -btn-loading
  ):hover {
  background-color: var(--color-success-5);
}
.next-btn-secondary.next-btn-status-warning:not(.next-btn-disabled):not(
    .next-btn-loading
  ):hover {
  color: var(--color-warning-6);
  background-color: var(--color-warning-2);
}
.next-btn-secondary.next-btn-status-danger:not(.next-btn-disabled):not(
    .next-btn-loading
  ):hover {
  color: var(--color-danger-6);
  background-color: var(--color-danger-2);
}
.next-btn-secondary.next-btn-status-success:not(.next-btn-disabled):not(
    .next-btn-loading
  ):hover {
  color: var(--color-success-6);
  background-color: var(--color-success-2);
}
.next-btn-outline.next-btn-status-warning:not(.next-btn-disabled):not(
    .next-btn-loading
  ):hover {
  border-color: var(--color-warning-5);
  color: var(--color-warning-5);
}
.next-btn-outline.next-btn-status-danger:not(.next-btn-disabled):not(
    .next-btn-loading
  ):hover {
  border-color: var(--color-danger-5);
  color: var(--color-danger-5);
}
.next-btn-outline.next-btn-status-success:not(.next-btn-disabled):not(
    .next-btn-loading
  ):hover {
  border-color: var(--color-success-5);
  color: var(--color-success-5);
}

.next-btn-primary.next-btn-disabled {
  background-color: var(--color-primary-3);
  color: #fff;
  cursor: not-allowed;
}
.next-btn-secondary.next-btn-disabled {
  background-color: rgb(247, 248, 250);
  color: rgb(201, 205, 212);
  cursor: not-allowed;
}
.next-btn-dashed.next-btn-disabled {
  background-color: var(--color-fill-2);
  color: var(--color-text-4);
  border: 1px dashed var(--color-neutral-3);
  cursor: not-allowed;
}
.next-btn-outline.next-btn-disabled {
  color: var(--color-primary-3);
  border: 1px solid var(--color-primary-3);
  cursor: not-allowed;
}
.next-btn-text.next-btn-disabled {
  background-color: transparent;
  color: var(--color-primary-3);
  cursor: not-allowed;
}

.next-btn-primary.next-btn-status-danger.next-btn-disabled {
  color: #fff;
  background-color: var(--color-danger-3);
}
.next-btn-secondary.next-btn-status-danger.next-btn-disabled {
  color: var(--color-danger-3);
  background-color: var(--color-danger-1);
}
.next-btn-dashed.next-btn-status-danger.next-btn-disabled {
  color: var(--color-danger-3);
  background-color: var(--color-danger-1);
  border: 1px dashed var(--color-danger-2);
}
.next-btn-outline.next-btn-status-danger.next-btn-disabled {
  color: var(--color-danger-3);
  border: 1px solid var(--color-danger-3);
}
.next-btn-text.next-btn-status-danger.next-btn-disabled {
  color: var(--color-danger-3);
}

.next-btn-primary.next-btn-status-warning.next-btn-disabled {
  color: #fff;
  background-color: var(--color-warning-3);
  border: 1px solid transparent;
}
.next-btn-secondary.next-btn-status-warning.next-btn-disabled {
  color: var(--color-warning-3);
  background-color: var(--color-warning-1);
}
.next-btn-dashed.next-btn-status-warning.next-btn-disabled {
  color: var(--color-warning-3);
  background-color: var(--color-warning-1);
  border: 1px dashed var(--color-warning-2);
}
.next-btn-outline.next-btn-status-warning.next-btn-disabled {
  color: var(--color-warning-3);
  border: 1px solid var(--color-warning-3);
}
.next-btn-text.next-btn-status-warning.next-btn-disabled {
  color: var(--color-warning-3);
}

.next-btn-primary.next-btn-status-success.next-btn-disabled {
  color: #fff;
  background-color: var(--color-success-3);
}
.next-btn-secondary.next-btn-status-success.next-btn-disabled {
  color: var(--color-success-3);
  background-color: var(--color-success-1);
}
.next-btn-dashed.next-btn-status-success.next-btn-disabled {
  color: var(--color-success-3);
  background-color: var(--color-success-1);
  border: 1px dashed var(--color-success-2);
}
.next-btn-outline.next-btn-status-success.next-btn-disabled {
  color: var(--color-success-3);
  border: 1px solid var(--color-success-3);
}
.next-btn-text.next-btn-status-success.next-btn-disabled {
  color: var(--color-success-3);
}
.next-btn-loading {
  cursor: default;
  pointer-events: none;
}
.next-btn-loading:before {
  content: "";
  position: absolute;
  top: -1px;
  right: -1px;
  bottom: -1px;
  left: -1px;
  z-index: 1;
  background: #fff;
  opacity: 0.4;
  transition: opacity 0.1s linear;
}
.next-btn-shape-square {
  border-radius: var(--border-radius-small);
}
.next-btn-shape-round,
.next-btn-shape-circle {
  border-radius: var(--border-radius-circle);
}
.next-btn-group .next-btn-size-default.next-btn-shape-round:first-child {
  border-radius: 16px 0 0 16px;
}
.next-btn-group .next-btn-size-default.next-btn-shape-round:last-child {
  border-radius: 0 16px 16px 0;
}
.next-btn-group .next-btn:not(:last-child) {
  border-right: 1px solid var(--group-border-right);
}
.next-btn-group .next-btn:not(:first-child):not(:last-child) {
  border-radius: 0;
}
.next-btn-group .next-btn-size-default:first-child {
  border-radius: var(--border-radius-small) 0 0 var(--border-radius-small);
}
.next-btn-group .next-btn-size-default:last-child {
  border-radius: 0 var(--border-radius-small) var(--border-radius-small) 0;
}
.next-btn-long {
  display: block;
  width: 100%;
}
